package com.mdx.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 鼠害
 */
@TableName("t_rodent")
public class RodentBean {

    /**
     * 主键
     */
    @TableId(value = "pk_rodentId",type = IdType.AUTO)
    private int rodentId;

    /**
     * 鼠名
     */
    @TableField("f_rodentName")
    private String rodentName;

    /**
     * 食物
     */
    @TableField("f_food")
    private String food;

    /**
     * 繁殖时间
     */
    @TableField("f_breedTime")
    private String breedTime;

    /**
     * 鼠的天敌
     */
    @TableField("f_rodentPredators")
    private String rodentPredators;

    /**
     * 鼠图片
     */
    @TableField("f_rodentImg")
    private String rodentImg;

    /**
     * 鼠害防治措施
     */
    @TableField("f_rodentPrevention")
    private String rodentPrevention;

    /**
     * 鼠害危害
     */
    @TableField("f_rodentHarm")
    private String rodentHarm;

    @Override
    public String toString() {
        return "RodentBean{" +
                "rodentId=" + rodentId +
                ", rodentName='" + rodentName + '\'' +
                ", food='" + food + '\'' +
                ", breedTime='" + breedTime + '\'' +
                ", rodentPredators='" + rodentPredators + '\'' +
                ", rodentImg='" + rodentImg + '\'' +
                ", rodentPrevention='" + rodentPrevention + '\'' +
                ", rodentHarm='" + rodentHarm + '\'' +
                '}';
    }

    public int getRodentId() {
        return rodentId;
    }

    public void setRodentId(int rodentId) {
        this.rodentId = rodentId;
    }

    public String getRodentName() {
        return rodentName;
    }

    public void setRodentName(String rodentName) {
        this.rodentName = rodentName;
    }

    public String getFood() {
        return food;
    }

    public void setFood(String food) {
        this.food = food;
    }

    public String getBreedTime() {
        return breedTime;
    }

    public void setBreedTime(String breedTime) {
        this.breedTime = breedTime;
    }

    public String getRodentPredators() {
        return rodentPredators;
    }

    public void setRodentPredators(String rodentPredators) {
        this.rodentPredators = rodentPredators;
    }

    public String getRodentImg() {
        return rodentImg;
    }

    public void setRodentImg(String rodentImg) {
        this.rodentImg = rodentImg;
    }

    public String getRodentPrevention() {
        return rodentPrevention;
    }

    public void setRodentPrevention(String rodentPrevention) {
        this.rodentPrevention = rodentPrevention;
    }

    public String getRodentHarm() {
        return rodentHarm;
    }

    public void setRodentHarm(String rodentHarm) {
        this.rodentHarm = rodentHarm;
    }

    public RodentBean() {
    }

    public RodentBean(String rodentName, String food, String breedTime, String rodentPredators, String rodentImg, String rodentPrevention, String rodentHarm) {
        this.rodentName = rodentName;
        this.food = food;
        this.breedTime = breedTime;
        this.rodentPredators = rodentPredators;
        this.rodentImg = rodentImg;
        this.rodentPrevention = rodentPrevention;
        this.rodentHarm = rodentHarm;
    }
}
